package com.site.wisdom_construction.service.partyConstructionModule;

import com.site.wisdom_construction.dao.partyConstructionModule.PartyConstructionPersonnelDao;
import com.site.wisdom_construction.entity.partyConstructionModule.PartyConstructionPersonnel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/19
 * @Description
 */
@Service
public class PartyConstructionPersonnelService implements PartyConstructionPersonnelDao {
    @Autowired
    private PartyConstructionPersonnelDao partyConstructionPersonnelDao;

    @Override
    public int insertPartyConstructionPersonnel(Map map) {
        return partyConstructionPersonnelDao.insertPartyConstructionPersonnel(map);
    }

    @Override
    public int deletePartyConstructionPersonnel(Map map) {
        return partyConstructionPersonnelDao.deletePartyConstructionPersonnel(map);
    }

    @Override
    public int updatePartyConstructionPersonnel(Map map) {
        return partyConstructionPersonnelDao.updatePartyConstructionPersonnel(map);
    }

    @Override
    public List<PartyConstructionPersonnel> findPartyConstructionPersonnelByPage(Map map) {
        return partyConstructionPersonnelDao.findPartyConstructionPersonnelByPage(map);
    }

    @Override
    public long Total(Map map) {
        return partyConstructionPersonnelDao.Total(map);
    }

    @Override
    public List<PartyConstructionPersonnel> selectPartyConstructionPersonnel(Map map) {
        return partyConstructionPersonnelDao.selectPartyConstructionPersonnel(map);
    }
}
